package him.serviceimple;

import java.util.List;

import him.dao.JobDAO;
import him.daoimple.JobDAOImple;
import him.dto.gotjob.JobDTO;
import him.service.YearSchService;

public class YearSchServiceImple implements YearSchService {
	private JobDAO JobDAO;
	private static YearSchServiceImple yearSchServiceImple;
	
	private YearSchServiceImple(){
		JobDAO = new JobDAOImple();
	}
	public static YearSchServiceImple getInstance(){
		if (yearSchServiceImple==null) {
			yearSchServiceImple = new YearSchServiceImple();
		}
		
		return yearSchServiceImple;
	}


	@Override
	public List<JobDTO> getGotJobYearList(JobDTO dto) {
		
		return JobDAO.getGotJobYearList(dto);
	}

}
